home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr29
/
wcore101.zip
/
WCBUILD.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1995-02-04
|
1KB
|
45 lines
/* WCBuild.cmd */
curdir = directory()
/* Load REXXUTIL */
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs
/* The basic call is listed next. */
/* result = SysCreateObject(classname, title, location, setup) */
call SysCls
Say 'Adding Warp Core to your Desktop...'
Say
Say 'Pressing "Y" Indicates you agree to the terps in readme.txt'
Say
Say '';Say 'Press Y to add Warp Core to The Desktop...';Say '';
parse upper value SysGetKey('NOECHO') with key
If key<>'Y' Then Exit
classname='WPProgram'
title="WarpCore"
location='<WP_DESKTOP>'
setup='PROGTYPE=PM;EXENAME='curdir'\WARPCORE.EXE;ICONFILE='curdir'\warpcore.ico'
say setup
Call BldObj
Exit
/* Build Object */
BldObj:
call charout ,'Building: 'title
result = SysCreateObject(classname, title, location, setup)
If result=1 Then call charout ,'... Object created!'
Else call charout ,'... Not created! Return code='result
Say
Say' Warning : WARPCORE Will give false data '
Say ' until after you have run the configure utility.'
Say '';
Return